package cn.wolfcode.service;

import cn.wolfcode.domain.SeckillProductVo;

import java.util.List;

/**
 * Created by lanxw
 */
public interface ISeckillProductService {
    //查询指定场次
    List<SeckillProductVo> queryByTime(Integer time);

    SeckillProductVo find(Integer time, Long seckillId);



    int decrStockCount(Long seckillId);


    List<SeckillProductVo> queryByTimeFromCache(Integer time);

    SeckillProductVo findFromCache(Integer time, Long seckillId);
}
